package com.abvnet.project.water.project.service;

import com.abvnet.project.water.project.domain.ProjectFlow;

import java.util.List;

/**
 * 项目流程 服务层
 * 
 * @author duj
 * @date 2019-08-02
 */
public interface IProjectFlowService {
	/**
     * 查询项目流程信息
     * 
     * @param flowId 项目流程ID
     * @return 项目流程信息
     */
	public ProjectFlow selectProjectFlowById(Long flowId);

    public ProjectFlow selectProjectFlowByProjectId(Long projectId);

    public ProjectFlow selectProjectFlowPicByProjectId(Long projectId);
	
	/**
     * 查询项目流程列表
     * 
     * @param projectFlow 项目流程信息
     * @return 项目流程集合
     */
	public List<ProjectFlow> selectProjectFlowList(ProjectFlow projectFlow);
	
	/**
     * 新增项目流程
     * 
     * @param projectFlow 项目流程信息
     * @return 结果
     */
	public int insertProjectFlow(ProjectFlow projectFlow);
	
	/**
     * 修改项目流程
     * 
     * @param projectFlow 项目流程信息
     * @return 结果
     */
	public int updateProjectFlow(ProjectFlow projectFlow);
		
	/**
     * 删除项目流程信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteProjectFlowByIds(String ids);
	
}
